biz.merchants.{id}
查询指定商户信息
- 请求路由:
biz.merchants.{id}- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "100"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 是 | 商户id |
返回
商户信息
{
"crBy" : "admin@mzd",
"upBy" : "admin@mzd",
"crDate" : "2023-08-01T09:12:55.102216Z",
"upDate" : "2023-08-01T09:13:54.104581Z",
"tenantId" : "mzd",
"id" : "100",
"name" : "测试商户",
"associatedChannel" : "CH1002",
"address" : "深大",
"starLevel" : "5",
"position" : {
"longitude" : 111.111,
"latitude" : 222.222
},
"clientType" : "客户类型",
"averageRoomRate" : 100.0,
"roomCapacity" : 100,
"customerRatio" : 30.0,
"state" : true,
"administrators" : [
"555@mzd"
]
}
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 标识 |
windowTitle | String | H5窗口标题 |
name | String | 商户名称 |
inviteCode | String | 邀请码 |
departurePosition | Object | 出发地坐标 |
departurePosition.longitude | Number | 经度 |
departurePosition.latitude | Number | 纬度 |
departureName | String | 出发地名称 |
departureAddress | String | 出发地地址 |
starLevel | String | 星级 |
state | Boolean | 是否启用 |
contactPersonName | String | 商户对接人 |
contactPersonMobile | String | 对接人电话 |
displayDeparture | Boolean | H5是否默认显示出发地 |
remarks | String | 备注 |
pricingScheme | String | 价格方案 |
price | Number[] | 添加或修改价格方案时把对应多个价格存储下来 |
serviceNote | String | 服务说明 |
operatorSurcharges | String[] | 承运商附加服务 |
administrators | Object[] | 商户负责人 |
administrators.[].username | String | 用户标识 |
administrators.[].mobile | String | 用户手机号 |
administrators.[].name | String | 用户名称 |
merchantSurcharges | Object | 商户附加服务 |
associatedChannel | String | 所属渠道 |
city | String | 开始城市id |
toCity | String | 到达城市id |
configureLayout | Object | 布局配置 |
independentAccount | Object | 分账设置信息 |
independentAccount.period | Number | 分账周期:T+0、T+1、T+2、T+7、T+30(加几值为几,例:T+0 值为0) |
independentAccount.suspensionOfDistribution | Boolean | 暂停分账 true:暂停 false:可分账 |
independentAccount.settlementOfDriverCharges | Boolean | 是否委托平台自动结算司机费用 |
independentAccount.acceptorType | String | 分账对象 0 - 平台 1 - 渠道 |
independentAccount.independentAccountType | String | 分账类型 0-比例 1-指定金额 |
independentAccount.independentAccountValue | Object | 分账值,比例和金额都写三种币种信息 RMB HKD MOP |
independentAccount.collectionAccountInformation | Object | 收款账户信息 |
independentAccount.collectionAccountInformation.appId | String | 公众号appId |
independentAccount.collectionAccountInformation.accountIdentification | String | 账户标识 |
independentAccount.collectionAccountInformation.name | String | 名字 |
independentAccount.collectionAccountInformation.type | String | 分账接收方类型 MERCHANT_ID:商户号 PERSONAL_OPENID:个人openid |
bindingPeriod | String | 绑定期限 0,1个月、6个月、1年(12:默认)、-1:永久 |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改时间 |
tenantId | String | 租户ID |